package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.retry.annotation.EnableRetry;

@EnableConfigurationProperties
@ConfigurationPropertiesScan(basePackages = "com.example.config")
@SpringBootApplication
//启动重试框架
@EnableRetry
public class Main {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(Main.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "  ____                _           _   \n" +
                " / ___|  ___ __ _ _ __| |_ ___  __| |  \n" +
                "| |  | / __/ _` | '__| __/ _ \\/ _` |  \n");

    }
}